package com.yancy.entity;

import java.util.Date;

public class New {
    private String content;
    private String id;
    private Date date;
    private String type;
    private String title;

    public String getTitle() {
        return title;
    }

    public void setTitle(String title) {
        title = title;
    }


    public String getContent() {
        return content;
    }

    public Date getDate() {
        return date;
    }

    public void setDate(Date date) {
        this.date = date;
    }

    public void setContent(String content) {
        this.content = content;
    }

    public String getId() {
        return id;
    }

    public void setId(String id) {
        this.id = id;
    }

    public String getType() {
        return type;
    }

    public void setType(String type) {
        this.type = type;
    }

    public New(String id, String title,String content, Date date, String type) {
        this.content = content;
        this.id = id;
        this.date = date;
        this.type = type;
        this.title = title;
    }
    public New(String id, String title, String content, String type) {
        this.content = content;
        this.id = id;
        this.type = type;
        this.title = title;
    }

    public New(String title, String content,  String type) {
        this.content = content;
        this.type = type;
        this.title = title;
    }
}
